Skip to main content
Version: 4.x.x

ExtractErrorType


import { ExtractErrorType } from "@hyper-fetch/core"

Description

Defined in types/fetch.types.ts:20

Preview

type ExtractErrorType<T> = T extends Request<any, any, any, infer  G, infer  L, any, any, any, any, any> ? G | L : never;

Structure

T extends Request<any, any, any, infer G, infer L, any, any, any, any, any> ? G | L : never